angular.module('${menuCode}')
.controller("${widgetCode}Ctrl",function($scope,AppKit,$ionicActionSheet,$timeout){
	$scope.openModal = function(id,commitType,theme) {
    	$scope.modalTitle = theme;
    	$scope.detailId = id;
    	if("UNSUBMITTED"==commitType){
    		$scope.operationType = "edit";
    	}else{
    		$scope.operationType = "detail";
    	}
    	
    	
    	
    	if($scope.operationType == "edit"){
    		AppKit.createModal("${menuCode}","EvectionReimburseEditModal",$scope);	
    	}else{
    		AppKit.createModal("${menuCode}","EvectionReimburseDetailModal",$scope);
    	}
 		
 	 }
	
	
	
});